/**
 * 
 */
package testcases;

import java.util.ArrayList;
import java.util.Date;

import juf.Annotations.CustomAdapter;
import juf.Annotations.Name;

/**A test class to help develop the List-based adapters
 * 
 * Students enrol in a Paper, a Paper has many students
 * 
 * @author Dale Halliwell
 *
 */
public class Paper {

	private String PaperCode;
	
	//for testing list control
	@Name("Student Listing")
	public ArrayList<Student> students;
	
	@CustomAdapter("JTreeAdapter")
	public Object[] hierarchy = ExampleGenerator.classHierarchy();
	
	@Name("Best Student")
	public Student bestStudent;
 	
	public Paper(String paperCode){
		this.PaperCode = paperCode;
		this.students = new ArrayList<Student>();	
	}
	@Name("Paper Code")
	public String getPaperCode() {
		return PaperCode;
	}
	
	
	public String toString(){
		return getPaperCode();
	}
	


}


